package com.qiaofang.applet.service.property.service;

import com.qiaofang.applet.common.base.BaseService;
import com.qiaofang.applet.service.property.domain.PropertyVr;

/**
 * 房源VR服务接口
 *
 * @author daiyuxiang
 * @Time 2020-09-30
 */
public interface PropertyVrService extends BaseService<PropertyVr, String> {
    /**
     * 根据propertyUuid、vrId、公司uuid查询vr信息
     * @param vrId
     * @param propertyUuid
     * @param companyUuid
     * @return
     */
    PropertyVr findByVrIdAndPropertyUuidAndCompanyUuid(Long vrId, String propertyUuid, String companyUuid);

    /**
     * 根据propertyUuid、vrUuid、公司uuid查询vr信息
     * @param vrUuid
     * @param propertyUuid
     * @param companyUuid
     * @return
     */
    PropertyVr findByVrUuidAndPropertyUuidAndCompanyUuid(String vrUuid, String propertyUuid, String companyUuid);

    /**
     * 查询房源VR对象
     *
     * @param propertyUuid: 房源UUID
     * @param cityCode:     城市code
     * @return PropertyVideo: 房源VR对象
     * @author daiyuxiang
     */
    PropertyVr findByPropertyUuidAndCityCode(String propertyUuid, String cityCode);
}
